package com.ht.demo.dao.dao.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ht.demo.common.pojo.qto.system.SysUserPostQTO;
import com.ht.demo.dao.domain.system.SysUserPostDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 用户与岗位关联表 DAO接口
 * 
 * @Author hdengxian
 * @Date 2023年05月26日
 */
@Mapper 
public interface SysUserPostDao extends BaseMapper<SysUserPostDO> {

    List<SysUserPostDO> findByCondition(SysUserPostDO record);

    Integer countByCondition(SysUserPostDO record);

    List<SysUserPostDO> findSysUserPostList(SysUserPostQTO qto);

    Integer findForPageCount(SysUserPostQTO qto);
    List<SysUserPostDO> findForPage(SysUserPostQTO qto);

}